package com.whcoding.designpatterns.pattern.factorypattern.factorymethod;

import com.whcoding.designpatterns.pattern.factorypattern.factorymethod.service.ICar;
import com.whcoding.designpatterns.pattern.factorypattern.factorymethod.service.TeslaCarImpl;

/**
 * @program: spring-boot-learning
 * @description: 特斯拉工厂，只生产特斯拉
 * @author: whcoding
 * @create: 2022-09-19 16:46
 **/
public class TeslaCarFactory implements CarFactory{
	@Override
	public ICar getCar() {
		return new TeslaCarImpl();
	}
}
